﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E07 RID: 3591
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RemoveRotaterCsReq : IMessage<RemoveRotaterCsReq>, IMessage, IEquatable<RemoveRotaterCsReq>, IDeepCloneable<RemoveRotaterCsReq>, IBufferMessage
	{
		// Token: 0x17002DA7 RID: 11687
		// (get) Token: 0x0600A147 RID: 41287 RVA: 0x001AF9C9 File Offset: 0x001ADBC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RemoveRotaterCsReq> Parser
		{
			get
			{
				return RemoveRotaterCsReq._parser;
			}
		}

		// Token: 0x17002DA8 RID: 11688
		// (get) Token: 0x0600A148 RID: 41288 RVA: 0x001AF9D0 File Offset: 0x001ADBD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RemoveRotaterCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DA9 RID: 11689
		// (get) Token: 0x0600A149 RID: 41289 RVA: 0x001AF9E2 File Offset: 0x001ADBE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RemoveRotaterCsReq.Descriptor;
			}
		}

		// Token: 0x0600A14A RID: 41290 RVA: 0x001AF9E9 File Offset: 0x001ADBE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RemoveRotaterCsReq()
		{
		}

		// Token: 0x0600A14B RID: 41291 RVA: 0x001AF9F1 File Offset: 0x001ADBF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RemoveRotaterCsReq(RemoveRotaterCsReq other) : this()
		{
			this.rotaterData_ = ((other.rotaterData_ != null) ? other.rotaterData_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A14C RID: 41292 RVA: 0x001AFA26 File Offset: 0x001ADC26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RemoveRotaterCsReq Clone()
		{
			return new RemoveRotaterCsReq(this);
		}

		// Token: 0x17002DAA RID: 11690
		// (get) Token: 0x0600A14D RID: 41293 RVA: 0x001AFA2E File Offset: 0x001ADC2E
		// (set) Token: 0x0600A14E RID: 41294 RVA: 0x001AFA36 File Offset: 0x001ADC36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterData RotaterData
		{
			get
			{
				return this.rotaterData_;
			}
			set
			{
				this.rotaterData_ = value;
			}
		}

		// Token: 0x0600A14F RID: 41295 RVA: 0x001AFA3F File Offset: 0x001ADC3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RemoveRotaterCsReq);
		}

		// Token: 0x0600A150 RID: 41296 RVA: 0x001AFA4D File Offset: 0x001ADC4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RemoveRotaterCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.RotaterData, other.RotaterData) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A151 RID: 41297 RVA: 0x001AFA80 File Offset: 0x001ADC80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rotaterData_ != null)
			{
				num ^= this.RotaterData.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A152 RID: 41298 RVA: 0x001AFABC File Offset: 0x001ADCBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A153 RID: 41299 RVA: 0x001AFAC4 File Offset: 0x001ADCC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A154 RID: 41300 RVA: 0x001AFACD File Offset: 0x001ADCCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rotaterData_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RotaterData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A155 RID: 41301 RVA: 0x001AFB00 File Offset: 0x001ADD00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rotaterData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RotaterData);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A156 RID: 41302 RVA: 0x001AFB40 File Offset: 0x001ADD40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RemoveRotaterCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rotaterData_ != null)
			{
				if (this.rotaterData_ == null)
				{
					this.RotaterData = new RotaterData();
				}
				this.RotaterData.MergeFrom(other.RotaterData);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A157 RID: 41303 RVA: 0x001AFB94 File Offset: 0x001ADD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A158 RID: 41304 RVA: 0x001AFBA0 File Offset: 0x001ADDA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rotaterData_ == null)
					{
						this.RotaterData = new RotaterData();
					}
					input.ReadMessage(this.RotaterData);
				}
			}
		}

		// Token: 0x04003E51 RID: 15953
		private static readonly MessageParser<RemoveRotaterCsReq> _parser = new MessageParser<RemoveRotaterCsReq>(() => new RemoveRotaterCsReq());

		// Token: 0x04003E52 RID: 15954
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E53 RID: 15955
		public const int RotaterDataFieldNumber = 1;

		// Token: 0x04003E54 RID: 15956
		private RotaterData rotaterData_;
	}
}
